]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
altTab: Use more appropriate fallback icon
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 19 Mar 2024 13:01:13 +0000 (14:01 +0100)
committerMarge Bot <marge-bot@gnome.org>
Wed, 24 Apr 2024 14:22:48 +0000 (14:22 +0000)
'icon-missing' is not an actual icon name. It somewhat works
because an invalid icon name will fallback to the correct
'image-missing', however for apps the generic app icon is
a better fallback.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3248>

js/ui/altTab.js

index 0e64d65ee8c3988de74eb870b654ac3a0a8a0211..004ca81a59ada77b6dcb7116c3779426914a16ba 100644 (file)
@@ -1050,7 +1050,7 @@ class WindowIcon extends St.BoxLayout {
     _createAppIcon(app, size) {
         let appIcon = app
             ? app.create_icon_texture(size)
-            : new St.Icon({icon_name: 'icon-missing', icon_size: size});
+            : new St.Icon({icon_name: 'application-x-executable', icon_size: size});
         appIcon.x_expand = appIcon.y_expand = true;
         appIcon.x_align = appIcon.y_align = Clutter.ActorAlign.END;